package com.studyyoun.android.nonghe.http;

/**
 * Created by androidlongs on 2017/9/25.
 */

public class HttpUrlHelper {

    //    public static String  BaseHost = "http://47.94.133.190/study_android_ssm/";
    public static String BaseHost = "http://www.studyyoun.com/study_android_ssm/";
//    public static String  BaseHost = "http://172.20.10.2:10008/study_android_ssm/";

    public static String BaseImageHost = "http://47.94.133.190/";


    public static String BaseHost2 = "http://xinnonghe.lvyewang.com";
    public static String BaseHost3 ="http://47.95.11.42:888";


    //分页文章
    public static String getArtListIndexUrl = BaseHost + "user/manager/art/getCommontArticleIndexSize";
    //获取文章详情
    public static String getArtDetailesFromeIdUrl = BaseHost + "/user/manager/art/getArticleFromId";
    //文章点赞
    public static String articlePairseUrl = BaseHost + "/user/manager/art/praise";
    //文章收藏
    public static String articleCollectUrl = BaseHost + "/user/manager/art/collect";
    //时刻收藏
    public static String msgAddCollectUrl = BaseHost + "/user/manager/msg/collect/add";
    //取消时刻收藏
    public static String msgCanleCollectUrl = BaseHost + "/user/manager/msg/collect/cancle";
    //视频收藏
    public static String videoCollectUrl = BaseHost + "/user/manager/video/addCollect";
    //获取文章收藏
    public static String articleGetCollectListUrl = BaseHost + "/user/manager/art/collect/get";
    //获取时刻收藏
    public static String msgGetCollectListUrl = BaseHost + "/user/manager/msg/collect/get";
    //提交文章评论
    public static String commitArticleRecommentUrl = BaseHost + "/user/manager/art/recomment/commit";
    //提交时刻评论
    public static String commitMsgRecommentUrl = BaseHost + "/user/manager/msg/recomment/commit";
    //获取文章评论
    public static String getArticleRecommentUrl = BaseHost + "/user/manager/art/recomment/get";
    //获取时刻评论
    public static String getMsgRecommentUrl = BaseHost + "/user/manager/msg/recomment/get";
    //视频点赞
    public static String videoPairseUrl = BaseHost + "/user/manager/video/addParise";
    //时刻点赞
    public static String msgPairseUrl = BaseHost + "/user/manager/msg/parise/add";
    //增加文章阅读次数
    public static String sAddArticleReadCountFromIdUrl = BaseHost + "user/manager/art/addArtReadCountFromId";
    //增加消息阅读次数
    public static String sAddMsgReadCountFromIdUrl = BaseHost + "/user/manager/msg/recount/add";
    //增加用户阅读文章
    public static String sAddUserReadArtRecodeFromIdUrl = BaseHost + "/manager/user/add/read/recode";
    //增加用户观看视频历史记录
    public static String sAddUserReadVideoRecodeFromIdUrl = BaseHost + "/user/manager/video/addRead";
    //获取用户的阅读历史记录
    public static String sAddUserGetArtRecodeFromIdUrl = BaseHost + "/manager/user/get/read/recode";
    //获取用户的观看历史记录
    public static String sAddUserGetVideoRecodeFromIdUrl = BaseHost + "/user/manager/video/getRead";

    //验证码登录
    public static String sCheckCodeLoginUrl = BaseHost + "user/manager/checkCode/login";
    public static String sPassWordLoginUrl = BaseHost + "user/manager/password/login";
    //修改用户昵称
    public static String sAlertUserNixeUrl = BaseHost + "/manager/user/alert/nixen";

    //修改用户签名
    public static String sAlertUserFlagUrl = BaseHost + "/manager/user/alert/flag";
    //修改用户密码
    public static String sAlertUserPasswordUrl = BaseHost + "/manager/user/alert/password";
    //修改用户头像
    public static String sAlertUserHeaderImgUrl = BaseHost + "/manager/user/alert/header/img";


    public static String sFileUpLoaddUrl = BaseHost + "/file/upload";

    public static String sGetAppVersionUrl = BaseHost + "/user/manager/app/getIndexAllAppVersion";
    //获取视频详情
    public static String sGetVideoDetaileUrl = BaseHost + "/user/manager/video/get/id";

    //分享文章的地址
    public static String sArtShareUrl = BaseHost + "share/html/share.html";

    //分享时刻的地址
    public static String sMsgShareUrl = BaseHost + "share/html/msg.html";


    //分页获取视频
    public static String sGetVideoListFromIndexUrl = BaseHost + "user/manager/video/get/index";

    //搜索
    public static String sSearchListUrl = BaseHost + "/user/manager/app/search";
    public static String sSearchAllListUrl = BaseHost + "/user/manager/app/searchAll";

    //获取时刻
    public static String sGetMsgAllListUrl = BaseHost + "/user/manager/app/msg/getFromIndex";


    //获取所有的分类
    public static String sGetWorkAllClassUrl = BaseHost + "/user/manager/work/get/allclass";
    public static String sGetWorkAndMediaAllClassUrl = BaseHost + "/user/manager/work/get/allclass/fromOneClass";


    //首页面 公告

    public static String sGetHomeAllClassUrl = BaseHost2 + "/api/GetHomeGongGao";
    public static String sGetMoreAllClassUrl = BaseHost2 + "/api/GetGongGao";
    public static String sUserLoginUrl = BaseHost2 + "/api/Login";

    public static String sGetHomeHelperUrl = BaseHost2 + "/api/GetBangZhu";

    //首页检测状态接口
    //http://xinnonghe.lvyewang.com/api/CheckJianCe
    public static String sUserCheckStatueUrl = BaseHost2 + "/api/CheckJianCe";

    // 检测列表接口
    //http://xinnonghe.lvyewang.com/api/GetJianCe
    public static String sUserGetCheckListUrl = BaseHost2 + "/api/GetJianCe";

    //资金发放
    public static String sUserGetMoneyListUrl = BaseHost2 + "/api/GetReleaseRecord";

    //传递默认检测失败接口
    //http://xinnonghe.lvyewang.com/api/JianCeAdd POST
    public static String sUserCheckFaceUrl = BaseHost2 + "/api/JianCeAdd";

    //请对准人脸 接口
    //http://47.93.151.127:888/api/facerecognize/detect
    public static String sfacerecognizeFaceUrl = BaseHost3+"/api/facerecognize/detect";

    //动作
    //http://47.93.151.127:888/api/bio/GetRandomOperations
    public static String sGetRandomOperationsUrl = BaseHost3+"/api/bio/GetRandomOperations";



    //    动作校验接口（先进行人脸校验，再进行动作校验）
    //    http://localhost:8075/api/bio/processimage
    public static String sprocessimageUrl = BaseHost3+"/api/bio/processimage";

}
